package com.chinamobile.iot.extend.auth;

public interface IMqttAuthRestClient {
    String checkPassword(String appToken, String loginName, String password);

    boolean deviceAlarmPermission(String deviceId, String alarmConfigName, String mqttId);

    boolean deviceDataPermission(String deviceId, String dataName, String fieldName, String mqttId);

    boolean deviceStatPermission(String deviceId, String statName, String fieldName, String mqttId);

    boolean deviceStatePermission(String deviceId, String mqttId);

    boolean alarmPermission(String alarmConfigName, String mqttId);

    boolean statPermission(String statName, String fieldName, String mqttId);
}
